/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 */

package vip.dexian.core.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 线程池配置
 *
 * @author 挺好的 2023年06月07日 11:23
 */
@ConfigurationProperties ("thread-pool")
@Component ("threadPoolProperties")
@Data
@EqualsAndHashCode (callSuper = false)
public class ThreadPoolProperties {

    private int coreSize;

    private int maxSize;

    private int queueCapacity;

    private String threadPoolNamePrefix;
}
